import turtle
turtle.setup(800, 900, 100, 50)
turtle.penup()
turtle.fd(-250)
turtle.pendown()
for i in range(4):
    turtle.penup()
    turtle.fd(50)
    turtle.pendown()
    turtle.fd(200)
    turtle.up()
    turtle.fd(50)
    turtle.seth(90*(i+1))

